package com.project.system.domain.entity;

import com.project.common.domain.po.DbBase;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author : [chg]
 * @className : OrderCost
 * @description : []
 * @createTime : [2025/7/9 11:22]
 */
//@Entity
@Data
@Table(name = "tb_container_order_cost")
@org.hibernate.annotations.Table(appliesTo = "tb_container_order_cost", comment = "集装箱订单费用")
public class OrderCost extends DbBase {
    @Column(columnDefinition = "bigint DEFAULT NULL COMMENT '集装箱ID'")
    private Long containerId; // 关联集装箱ID

    @Column(columnDefinition = "bigint DEFAULT NULL COMMENT '集装箱订单ID'")
    private Long containerOrderId;

    @Column(columnDefinition = "decimal(10,2) DEFAULT NULL COMMENT '金额'")
    private BigDecimal amount; // 代收货款

    @Column(columnDefinition = "varchar(1000) DEFAULT NULL  COMMENT '费用说明'")
    private String remark; // 操作说明

    @Column(columnDefinition = "int DEFAULT 0 COMMENT '是否删除（0-否，1-是）'")
    private Integer delFlag;

}
